<jsp:include page="header.jsp" />
<script src="tagitResource/js/jquery.1.7.2.min.js"></script>
	<script src="tagitResource/js/jquery-ui.1.8.20.min.js"></script>
	<script src="tagitResource/js/tagit.js"></script>

	<link href="tagitResource/css/demo.css" rel="stylesheet" type="text/css"/>
	<link rel="stylesheet" type="text/css" href="tagitResource/css/tagit-stylish-yellow.css">

	<script type="text/javascript" src="tagitResource/js/scripts.js"></script>
<div id="page-wrapper">
	<div class="col-sm-10 col-sm-offset-2">
		<div class="row">
		<br>
		<br>
			<div class="col-lg-8">
				<div class = "col-lg-12 col-lg-offset-3" style ="color : red">${errorMessage}</div>
					 <h3 class="page-header">Post your question here</h3>
						<br>
							<form action="/MetaQBank/rest/post/postQuestion" method = "post">
								<input type="text" placeholder="What do you want to know..." id="question" name="qTitle" class="form-control"/>
								<br>
								<textarea class="form-control" placeholder="Enter text ..." name ="qBody" style=" height:200px; resize : none"></textarea>
								
								<br>
								
	
		
		<!--
			add li with data-value attribute and html
		-->
		<ul id="demo2" data-name="demo2">
				
		</ul>
		
	
								<br>
								<button type="submit" class="btn btn-primary" id="save" name="save">Save</button><span></span>
								<button type="button" class="btn btn-primary" id="cancel" onclick="Redirect()" name="cancel">Cancel</button>
							</form>
							<form action="">
								
							</form>
								
								
						
								</div>
								<div class="col-lg-4">
									<h3 class="page-header">Expertise</h3>
									
										<div class="col-lg-4">
											<img src="logo.png" class="image-rounded" alt="userImage" style="width:50px; height:50px; border:solid;"> <br>
										</div>
										<div class="col-sm-8">
											<label for="name">Username</label><br>
									  		<label>Points</label><br>
									   		<label>Answers</label><br>
									    	<label>Questions</label>										
										</div>
										
									
									
								</div>	
							
							
							
			
			
		
		</div>
	
	
	
	</div>




</div>



<script>




function Redirect()
{
    window.location="/MetaQBank/postQuestion.jsp";
}
</script>
